Automattic\Jetpack\Publicize\Publicize C

Total Complexity 107
Dependencies 7
Dependents 6
Total lines 729
Lines of code 395
Logical lines of code 197
Comment lines 252
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
get_all_connections_for_user()
A
46 15 36
display_connection_error()
A
41 10 61
get_connections()
A
56 8 18
test_connection()
S
49 6 29
add_connection_test_results()
S
57 5 15
flag_post_for_publicize()
S
61 5 12
get_services()
S
54 4 22
set_post_flags()
S
58 4 16
admin_page_warning()
S
50 2 34
globalization()
S
66 4 8
save_publicized()
S
64 4 9
use_admin_ui_v1()
S
68 4 7
refresh_connections()
S
61 3 13
get_all_connections()
S
63 3 11
force_user_connection()
S
62 3 11
post_is_done_sharing()
S
67 3 7
get_connection_for_user()
S
67 3 8
admin_page_load()
S
68 3 6
globalize_connection()
S
66 2 8
unglobalize_connection()
S
66 2 8
display_disconnected()
S
72 1 5
register_update_publicize_connections_xmlrpc_method()
S
68 1 8
add_disconnect_notice()
S
79 1 3
clear_connections_transient()
S
81 1 3
connect_url()
S
79 1 3
refresh_url()
S
79 1 3
disconnect_url()
S
79 1 3
get_connection_meta()
S
76 1 4
get_connection()
S
91 1 2
get_connection_unique_id()
S
80 1 3
get_connection_id()
S
80 1 3
disconnect()
S
78 1 3
receive_updated_publicize_connections()
S
75 1 4
__construct()
S
64 1 9